package com.roc.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = "TBL_TER_STATISTICS")
public class TblTerStatistics  implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8224318902754603254L;

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "tblTerStatisticsSeq")
	@SequenceGenerator(name = "tblTerStatisticsSeq", sequenceName = "TBL_TER_STATISTICS_SEQ")
	private Long  id; // id
	
	@Column(name = "COMPANYID")
	private String  companyid; // 区域id
	
	@Column(name = "ONEAGENTID")
	private String  oneagentid; // 一级代理商id
	
	@Column(name = "NUMS")
	private Long  nums; // 总数量
	
	@Column(name = "ACTIVATE_NUMS")
	private Long  activateNums; // 激活数量
	
	@Column(name = "UN_ACTIVATE_NUMS")
	private Long  unActivateNums; // 未激活数量
	
	@Column(name = "DT_CREATE")
	private String dtCreate; // 创建时间
	
	@Column(name = "DT_LASTMOD")
	private String  dtLastmod; // 更新时间

	@Transient
	private String oneagentName;
	
	@Transient
	private String orgName;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCompanyid() {
		return companyid;
	}

	public void setCompanyid(String companyid) {
		this.companyid = companyid;
	}

	public String getOneagentid() {
		return oneagentid;
	}

	public void setOneagentid(String oneagentid) {
		this.oneagentid = oneagentid;
	}

	public Long getNums() {
		return nums;
	}

	public void setNums(Long nums) {
		this.nums = nums;
	}

	public Long getActivateNums() {
		return activateNums;
	}

	public void setActivateNums(Long activateNums) {
		this.activateNums = activateNums;
	}

	public Long getUnActivateNums() {
		return unActivateNums;
	}

	public void setUnActivateNums(Long unActivateNums) {
		this.unActivateNums = unActivateNums;
	}

	public String getDtCreate() {
		return dtCreate;
	}

	public void setDtCreate(String dtCreate) {
		this.dtCreate = dtCreate;
	}

	public String getDtLastmod() {
		return dtLastmod;
	}

	public void setDtLastmod(String dtLastmod) {
		this.dtLastmod = dtLastmod;
	}

	public String getOneagentName() {
		return oneagentName;
	}

	public void setOneagentName(String oneagentName) {
		this.oneagentName = oneagentName;
	}

}
